/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WekaModels;

import grex.Data.ArffTableModel;
import grex.ErrorManager;
import java.util.logging.Level;
import java.util.logging.Logger;
import weka.classifiers.trees.REPTree;
import weka.core.Instance;
import weka.core.Instances;

/**
 *
 * @author RIK
 */
public class GrexREPTree extends WekaPredictiveModel{
    REPTree repTree;
    
    public GrexREPTree(ArffTableModel data){
        super(data,new REPTree());
        repTree = (REPTree) model;
    }
    

    public double getNrOfNodes() {
            return repTree.numNodes();
    }

    public String getName() {
        return "REPTree"; 
    }
    
}
